package com.all.play.myapplication.Bean;

import org.litepal.crud.DataSupport;

/**
 * Created by 聪明一只哈 on 2018/4/23.
 * Time: 2018/4/23  8:55
 */

public class ProductBean extends DataSupport{

    private int id;
    private String name;
    private double price;
    private int pages;
    private String factory;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public String getFactory() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory = factory;
    }

    @Override
    public String toString() {
        return "ProductBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", pages=" + pages +
                ", factory='" + factory + '\'' +
                '}';
    }
}
